home *** CD-ROM | disk | FTP | other *** search
/ PC Answers 1995 December / PC Answers December 1995 (disc errors).iso / mxc / flybox2.dir / 00007.ls < prev    next >
Encoding:
Text File  |  1995-05-02  |  670 b   |  27 lines

  1. on exitFrame
  2.   global gSetFButtons, gprev, gdirmovie, gVolume, gFirstTimeInA
  3.   repeat with i = 1 to 48
  4.     puppetSprite(i, 0)
  5.   end repeat
  6.   repeat with i = 1 to 48
  7.     puppetSprite(i, 1)
  8.   end repeat
  9.   if gSetFButtons = 1 then
  10.     repeat with i = 2 to 10
  11.       set the castNum of sprite i to i + 20
  12.     end repeat
  13.     set the castNum of sprite 12 to 12
  14.     set the castNum of sprite 13 to 51
  15.   else
  16.     repeat with i = 2 to 12
  17.       set the castNum of sprite i to 47
  18.     end repeat
  19.   end if
  20.   if gFirstTimeInA = 1 then
  21.     set the movieRate of sprite 28 to 1
  22.     set the volume of sprite 28 to gVolume
  23.     set gFirstTimeInA to 0
  24.   end if
  25.   set gprev to "mainframe"
  26. end
  27.